// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
    app: {
        buildAssetsDir: '/_nuxt/'
    },
    compatibilityDate: '2024-04-03',
    modules: [
        '@element-plus/nuxt',
        '@pinia/nuxt',
        'pinia-plugin-persistedstate/nuxt',
    ],
    devtools: {enabled: true},
    postcss: {
        plugins: {
            tailwindcss: {},
            autoprefixer: {},
        },
    },
    nitro: {
        preset: 'static',
    },
    css: [
        '@/assets/lib/tailwind-main.css',
        '@/assets/css/index.css',
        '@/assets/css/list.css',
        '@/assets/css/content.css',
    ],
    // 如果您想禁用服务端渲染，可以添加以下配置
    // ssr: false,
})

